package cn.laixueit.servlet;

import cn.laixueit.service.StudentServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
/*表示控制层*/
public class StudentServlet {

    @Autowired
    private StudentServiceImpl studentService;

    public void save(){
        System.out.println("servlet.save...");
        studentService.save();
    }
}
